﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Runtime.InteropServices;

namespace CTP.Entitys
{
    ///// <summary>
    ///// 分页信息
    ///// </summary>
    public struct PageInfo
    {
        /// <summary>
        /// 获取或设置当前页
        /// <para>start with 0</para>
        /// </summary>
        public int PageIndex;

        /// <summary>
        /// 获取或设置页大小
        /// </summary>
        public int PageSize;

        /// <summary>
        /// 获取或设置总记录数
        /// </summary>
        public int TotalCount;

        /// <summary>
        /// 获取总页数
        /// </summary>
        public int TotalPage;
    }
}
